package cn.bdqn.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.bdqn.pojo.Provider;


public interface ProviderDao {
	int getCountByConditions(@Param("proName")String providerName,@Param("proCode")String providerCode);
	List<Provider> findByPageConditions(@Param("form")Integer form,@Param("pageSize")Integer pageSize,@Param("proName")String providerName,@Param("proCode")String providerCode);
	Provider findByCode(@Param("proCode")String proCode);
	int updateByProvider(Provider provider);
	int addProvider(Provider provider);
	List<Provider> findAll();
	int deleteById(Integer id);
	int getBillCountById(Integer id);

}
